home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-01-24 | 3.4 KB | 124 lines | [TEXT/MPS ] |
- ;
- ; File: TerminalTools.a
- ;
- ; Contains: Communications Toolbox Terminal tools Interfaces.
- ;
- ; Version: Technology: System 7.5
- ; Package: Universal Interfaces 2.2 in “MPW” on ETO #20
- ;
- ; Copyright: © 1984-1995 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Bugs?: If you find a problem with this file, use the Apple Bug Reporter
- ; stack. Include the file and version information (from above)
- ; in the problem description and send to:
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__TERMINALTOOLS__') = 'UNDEFINED' THEN
- __TERMINALTOOLS__ SET 1
-
-
- IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
- include 'Dialogs.a'
- ENDIF
- ; include 'Errors.a' ;
- ; include 'ConditionalMacros.a' ;
- ; include 'Memory.a' ;
- ; include 'Types.a' ;
- ; include 'MixedMode.a' ;
- ; include 'Menus.a' ;
- ; include 'Quickdraw.a' ;
- ; include 'QuickdrawText.a' ;
- ; include 'Controls.a' ;
- ; include 'Windows.a' ;
- ; include 'Events.a' ;
- ; include 'OSUtils.a' ;
- ; include 'TextEdit.a' ;
-
- IF &TYPE('__TERMINALS__') = 'UNDEFINED' THEN
- include 'Terminals.a'
- ENDIF
- ; include 'CTBUtilities.a' ;
- ; include 'StandardFile.a' ;
- ; include 'Files.a' ;
- ; include 'Finder.a' ;
- ; include 'AppleTalk.a' ;
- ; include 'Connections.a' ;
-
- tdefType EQU 'tdef'
- tvalType EQU 'tval'
- tsetType EQU 'tset'
- tlocType EQU 'tloc'
- tscrType EQU 'tscr'
- tbndType EQU 'tbnd'
- tverType EQU 'vers'
- ; messages
- tmInitMsg EQU 0
- tmDisposeMsg EQU 1
- tmSuspendMsg EQU 2
- tmResumeMsg EQU 3
- tmMenuMsg EQU 4
- tmEventMsg EQU 5
- tmActivateMsg EQU 6
- tmDeactivateMsg EQU 7
- tmGetErrorStringMsg EQU 8
- tmIdleMsg EQU 50
- tmResetMsg EQU 51
- tmKeyMsg EQU 100
- tmStreamMsg EQU 101
- tmResizeMsg EQU 102
- tmUpdateMsg EQU 103
- tmClickMsg EQU 104
- tmGetSelectionMsg EQU 105
- tmSetSelectionMsg EQU 106
- tmScrollMsg EQU 107
- tmClearMsg EQU 108
-
- tmGetLineMsg EQU 109
- tmPaintMsg EQU 110
- tmCursorMsg EQU 111
- tmGetEnvironsMsg EQU 112
- tmDoTermKeyMsg EQU 113
- tmCountTermKeysMsg EQU 114
- tmGetIndTermKeyMsg EQU 115
- ; messages for validate DefProc
- tmValidateMsg EQU 0
- tmDefaultMsg EQU 1
- ; messages for Setup DefProc
- tmSpreflightMsg EQU 0
- tmSsetupMsg EQU 1
- tmSitemMsg EQU 2
- tmSfilterMsg EQU 3
- tmScleanupMsg EQU 4
- ; messages for scripting defProc
- tmMgetMsg EQU 0
- tmMsetMsg EQU 1
- ; messages for localization defProc
- tmL2English EQU 0
- tmL2Intl EQU 1
-
- ; typedef struct TMSearchBlock TMSearchBlock, *TMSearchBlockPtr
- TMSearchBlock RECORD 0
- theString ds.l 1 ; offset: $0 (0)
- where ds Rect ; offset: $4 (4)
- searchType ds.w 1 ; offset: $C (12)
- callBack ds.l 1 ; offset: $E (14)
- refnum ds.w 1 ; offset: $12 (18)
- next ds.l 1 ; offset: $14 (20)
- sizeof EQU * ; size: $18 (24)
- ENDR
-
- ; typedef struct TMSetupStruct TMSetupStruct, *TMSetupPtr
- TMSetupStruct RECORD 0
- theDialog ds.l 1 ; offset: $0 (0)
- count ds.w 1 ; offset: $4 (4)
- theConfig ds.l 1 ; offset: $6 (6)
- procID ds.w 1 ; offset: $A (10) ; procID of the tool
- sizeof EQU * ; size: $C (12)
- ENDR
-
- ENDIF ; __TERMINALTOOLS__
-